package com.patrol.pojo;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * task_point
 * @author zsc
 */
@Data
@ApiModel(description = "TaskPoint")
@TableName("task_point")
public class TaskPoint implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "任务编号")
    @TableId(type = IdType.AUTO)
    private Integer taskId;

    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @ApiModelProperty(value = "任务类型")
    private String taskType;

    @ApiModelProperty(value = "任务信息")
    private String taskInfo;

    @ApiModelProperty(value = "任务地址")
    private String taskAddress;

    @ApiModelProperty(value = "纬度")
    private Double taskLatitudeX;

    @ApiModelProperty(value = "经度")
    private Double taskLongitudeY;

    @ApiModelProperty(value = "打卡频次")
    private Integer frequency;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "修改时间")
    private String updateTime;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "其他参数")
    @TableField(exist = false)
    private Map<String,Object> param = new HashMap<>();
}